package com.zz.schoolwall.service;

import com.zz.schoolwall.domain.SchoolWallDO;

import java.util.List;
import java.util.Map;

public interface SchoolWallService {
    int remove(Long wallId);
    int logicRemove(Long wallId);
    int batchLogicRemove(Long[] wallIds);
    int increaseLikeNum(Long wallId);
    int decreaseLikeNum(Long wallId);
    int increaseCommentNum(Long wallId);
    int decreaseCommentNum(Long wallId);
    int save(SchoolWallDO record);

    SchoolWallDO get(Long wallId);
    List<SchoolWallDO> list(Map<String,Object> map);
    int count(Map<String,Object> map);

    int update(SchoolWallDO record);
}